<template>
	<view class="container">
		<view class="example">
			<view class="content">
				<!--电影列表-->
				<uni-list v-for="(premiere, index) in premiereList" :key="index">
					<uni-list-chat 
					:title="premiere.organizerLabel"
					:avatar-circle="true"
					:avatar="premiere.organizerAvatar" 
					:note="premiere.cinemaLabel" 
					:time="premiere.filmStartTime" 
					>
					</uni-list-chat>
				</uni-list>
			</view>
		</view>

	</view>
</template>

<script>
	import { getPremiereInfoListByFilmId } from "@/api/star/premiere/premiere.js"

	export default {
		components: {},
		data() {
			return {
				premiereList: [],
				
				// 首映礼显示按钮
				contentText: {
					contentDefault: '首映礼',
					contentFav: ''
				},
			}
		},
		computed: {

		},
		onLoad(option) {
			// 查详情
			getPremiereInfoListByFilmId(option.filmId).then(response => {
				if (response.code === 200) {
					this.premiereList = response.data;
				} else {
					this.$modal.msgError(response.msg);
				}
			});
		},
		onShow() {

		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.example {
		padding: 15px;
		background-color: #fff;
	}

	/*列表右插槽样式*/
	.footer-content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		/* 如果你希望在垂直方向上，也可以居中对齐 */
	}

</style>